<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1">
	<title>Lowin</title>
	<link rel="stylesheet" href="css/auth.css">
</head>

<body>
	<div class="lowin lowin-blue">
		<div class="lowin-brand">
			<img src="images/kodinger.jpg" alt="logo">
		</div>
		<div class="lowin-wrapper">
			<div class="lowin-box lowin-login">
				<div class="lowin-box-inner">
					<form name="lgform" action="/ssms/securityLogin" method="post" onSubmit="return isEmpty();" id="loginForm">
						<p>登录以继续</p>
						
						<div class="lowin-group">
							<label id="idTip">用户名 <a href="#" class="login-back-link">登录?</a></label>
							<input type="email" autocomplete="email" name="email" class="lowin-input">
						</div>
						<div class="lowin-group password-group">
							<label id="passwordTip">密码 <a href="#" class="forgot-link">忘记密码?</a></label>
							<input type="password" name="password" autocomplete="current-password" class="lowin-input">
						</div>
						<div class="lowin-group">
                            <td><input type="text" name="code"  class="lowin-input" placeholder="输入验证码" class="code" id="code"/></td>
                            <td><img src="/ssms/getCheckCode" id="CreateCheckCode" alt="验证码"/></td>
                            <td><a  href="javascript:void(0)" onclick="myReload()" id="a2">看不清换一张</a></td>
                            <td><label id="codeTip"></label></td>
						</div>
						<button id="login" class="lowin-btn login-btn">
							登录
						</button>
					
						<div class="text-foot">
							没有帐户？ <a href="" class="register-link">注册</a>
						</div>
					</form>
				</div>
			</div>

			<div class="lowin-box lowin-register">
				<div class="lowin-box-inner">
					<form>
						<p>创建您的帐户</p>
						<div class="lowin-group">
							<label>用户名</label>
							<input type="text" name="name" autocomplete="name" class="lowin-input">
						</div>
						<div class="lowin-group">
							<label>邮箱</label>
							<input type="email" autocomplete="email" name="email" class="lowin-input">
						</div>
						<div class="lowin-group">
							<label>密码</label>
							<input type="password" name="password" autocomplete="current-password" class="lowin-input">
						</div>
						<button class="lowin-btn">
							注册
						</button>

						<div class="text-foot">
							已经有帐号了？ <a href="" class="login-link">登录</a>
						</div>
					</form>
				</div>
			</div>
		</div>
	
		<footer class="lowin-footer">
			你是狗管理? <a href="administer_login.html" class="administrator-link">管理员界面</a>
		</footer>
	</div>

	<script src="js/auth.js"></script>
	<script>
		Auth.init({
			login_url: '#login',
			forgot_url: '#forgot'
		});
		
		var btn = document.getElementById("login");  
		btn.onclick=function(){
			window.location.href = "index.html";
		}
		
		
	</script>
</body>
</html>